package cn.cdliux.spring.core.io;


/**
 * 资源获取接口
 * @author liuxiang
 */
public interface ResourceLoader {
    String CLASSPATH_URL_PREFIX = "classpath:";

    /**
     * 根据资源位置获取资源
     * @param location
     * @return
     */
    Resource getResource(String location);
}
